<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Biriani_Request</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Biriani_Request</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">class Biriani_Request</p>
		<p class="notes">
			Located in <a class="field" href="_Biriani_Request.php.html">/Biriani_Request.php</a> (line <span class="field">13</span>)
		</p>
		
				
		<pre><a href="../Biriani/Biriani_HTTPTransaction.html">Biriani_HTTPTransaction</a>
   |
   --Biriani_Request</pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BIRIANI_REQUEST_DELETE" title="details" class="const-name">BIRIANI_REQUEST_DELETE</a> = 					<span class="var-type">'DELETE'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BIRIANI_REQUEST_GET" title="details" class="const-name">BIRIANI_REQUEST_GET</a> = 					<span class="var-type">'GET'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BIRIANI_REQUEST_POST" title="details" class="const-name">BIRIANI_REQUEST_POST</a> = 					<span class="var-type">'POST'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BIRIANI_REQUEST_PUT" title="details" class="const-name">BIRIANI_REQUEST_PUT</a> = 					<span class="var-type">'PUT'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BIRIANI_REQUEST_STATUS_COMPLETED" title="details" class="const-name">BIRIANI_REQUEST_STATUS_COMPLETED</a> = 					<span class="var-type">2</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BIRIANI_REQUEST_STATUS_INITIALIZED" title="details" class="const-name">BIRIANI_REQUEST_STATUS_INITIALIZED</a> = 					<span class="var-type">0</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BIRIANI_REQUEST_STATUS_RUN" title="details" class="const-name">BIRIANI_REQUEST_STATUS_RUN</a> = 					<span class="var-type">1</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type"><a href="../Biriani/Biriani_Response.html">Biriani_Response</a></span>
					<a href="#$response" title="details" class="var-name">$response</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																												
												<div class="method-definition">
											<span class="method-result">Biriani_Request</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#get_request_status" title="details" class="method-name">get_request_status</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">Biriani_Request_Type</span>
										<a href="#get_request_type" title="details" class="method-name">get_request_type</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../Biriani/Biriani_Response.html">Biriani_Response</a></span>
										<a href="#run" title="details" class="method-name">run</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#save_headers" title="details" class="method-name">save_headers</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$ch</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$header</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#set_request_type" title="details" class="method-name">set_request_type</a>
											(<span class="var-type">Biriani_Request_Type</span>&nbsp;<span class="var-name">$request_type</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#set_url" title="details" class="method-name">set_url</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$response" id="$response"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Biriani/Biriani_Response.html">Biriani_Response</a></span>
			<span class="var-name">$response</span>
						(line <span class="line-number">35</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Saves Response before returning.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../Biriani/Biriani_HTTPTransaction.html">Biriani_HTTPTransaction</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../Biriani/Biriani_HTTPTransaction.html#var$content">Biriani_HTTPTransaction::$content</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Biriani/Biriani_HTTPTransaction.html#var$headers">Biriani_HTTPTransaction::$headers</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Biriani/Biriani_HTTPTransaction.html#var$url">Biriani_HTTPTransaction::$url</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">81</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Biriani_Request</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$url</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Biriani/Biriani_HTTPTransaction.html#method__construct">Biriani_HTTPTransaction::__construct()</a></dt>
					</dl>
			
	</div>
<a name="methodget_request_status" id="get_request_status"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_request_status</span> (line <span class="line-number">74</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_request_status
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodget_request_type" id="get_request_type"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_request_type</span> (line <span class="line-number">70</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Biriani_Request_Type</span>
		<span class="method-name">
			get_request_type
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodrun" id="run"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">run</span> (line <span class="line-number">132</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Runs the HTTP transaction</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../Biriani/Biriani_Response.html">Biriani_Response</a></span>
		<span class="method-name">
			run
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsave_headers" id="save_headers"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">save_headers</span> (line <span class="line-number">110</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			save_headers
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$ch</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$header</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$ch</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$header</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_request_type" id="set_request_type"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">set_request_type</span> (line <span class="line-number">42</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set_request_type
		</span>
					(<span class="var-type">Biriani_Request_Type</span>&nbsp;<span class="var-name">$request_type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Biriani_Request_Type</span>
				<span class="var-name">$request_type</span><span class="var-description">: request_type</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_url" id="set_url"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">set_url</span> (line <span class="line-number">55</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set_url
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$url</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Biriani/Biriani_HTTPTransaction.html#methodset_url">Biriani_HTTPTransaction::set_url()</a></dt>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Biriani/Biriani_HTTPTransaction.html">Biriani_HTTPTransaction</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#method__construct">Biriani_HTTPTransaction::__construct()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodclear_headers">Biriani_HTTPTransaction::clear_headers()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodget_all_headers">Biriani_HTTPTransaction::get_all_headers()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodget_content">Biriani_HTTPTransaction::get_content()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodget_header">Biriani_HTTPTransaction::get_header()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodget_url">Biriani_HTTPTransaction::get_url()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodset_content">Biriani_HTTPTransaction::set_content()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodset_header">Biriani_HTTPTransaction::set_header()</a></span><br>
													<span class="method-name"><a href="../Biriani/Biriani_HTTPTransaction.html#methodset_url">Biriani_HTTPTransaction::set_url()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constBIRIANI_REQUEST_DELETE" id="BIRIANI_REQUEST_DELETE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BIRIANI_REQUEST_DELETE</span>
			 = <span class="const-default">'DELETE'</span>
			(line <span class="line-number">23</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constBIRIANI_REQUEST_GET" id="BIRIANI_REQUEST_GET"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BIRIANI_REQUEST_GET</span>
			 = <span class="const-default">'GET'</span>
			(line <span class="line-number">20</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constBIRIANI_REQUEST_POST" id="BIRIANI_REQUEST_POST"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BIRIANI_REQUEST_POST</span>
			 = <span class="const-default">'POST'</span>
			(line <span class="line-number">21</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constBIRIANI_REQUEST_PUT" id="BIRIANI_REQUEST_PUT"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BIRIANI_REQUEST_PUT</span>
			 = <span class="const-default">'PUT'</span>
			(line <span class="line-number">22</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constBIRIANI_REQUEST_STATUS_COMPLETED" id="BIRIANI_REQUEST_STATUS_COMPLETED"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BIRIANI_REQUEST_STATUS_COMPLETED</span>
			 = <span class="const-default">2</span>
			(line <span class="line-number">28</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constBIRIANI_REQUEST_STATUS_INITIALIZED" id="BIRIANI_REQUEST_STATUS_INITIALIZED"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BIRIANI_REQUEST_STATUS_INITIALIZED</span>
			 = <span class="const-default">0</span>
			(line <span class="line-number">26</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constBIRIANI_REQUEST_STATUS_RUN" id="BIRIANI_REQUEST_STATUS_RUN"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BIRIANI_REQUEST_STATUS_RUN</span>
			 = <span class="const-default">1</span>
			(line <span class="line-number">27</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Sat, 04 Feb 2012 04:13:45 +0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>